package com.didispace.chapter11.domain

import org.springframework.beans.factory.annotation.Value
import org.springframework.stereotype.Component

/**
 * @author 田桂森 2020/7/18 0018
 */
@Component
class Book {
    @Value("\${book.name}")
    private val name: String? = null
    @Value("\${book.author}")
    private val author: String? = null
}